package com.eight.uploud.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

/**
 * @program: qy8-education
 * @description:
 * @author: 平家祥
 * @create: 2023-06-05 15:12
 **/
@Mapper
public interface TbShoucangCourseMapper extends BaseMapper<TbShoucangCourseMapper> {
    @Delete(value = "delete from tb_shoucang_course where member_id = #{memberid} and course_id = #{courseid}")
    Integer deleteFavoriteCourse(String memberid,String courseid);
}
